//
//  MenuDetail2ShiCai2TableViewCell.m
//  Products_B
//
//  Created by lanou on 16/6/1.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "MenuDetail2ShiCai2TableViewCell.h"

@implementation MenuDetail2ShiCai2TableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.titlelabel = [[UILabel alloc]initWithFrame:CGRectMake(20, 0, 200, 25)];
        self.titlelabel.font = [UIFont systemFontOfSize:13];
        self.numLabel = [[UILabel alloc]initWithFrame:CGRectMake(kWidth - 100, 0, 80, 25)];
        self.numLabel.font = [UIFont systemFontOfSize:13];
        self.numLabel.textAlignment = NSTextAlignmentRight;
        
        [self.contentView addSubview:_titlelabel];
        [self.contentView addSubview:_numLabel];
    }
    return self;
}
@end
